/*
 * @(#)JVMMBean.java $version 2010. 8. 11
 *
 * Copyright 2007-2010 NHN Corp. All rights Reserved. 
 * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.nhncorp.usf.core.jmx;

import java.util.Map;

/**
 * USF 로딩 된 JVM에 대한 MBean interface이다.
 * <p/>
 * <h4>이 MBean의 ObjectName의 요소</h4>
 * <ul>
 * <li>doamin key의 값 :
 * <li>name key의 값 : main
 * <li>type key의 값 : JVM
 * </ul>
 * <p/>
 *
 * @author Web Platform Development Team
 */
public interface JVMMBean {
    public String TYPE = "JVM";
    public String THREAD_ITEM_KEY = "COMMON#Thread##S";
    public String MEMORY_ITEM_KEY = "COMMON#Memory##S";

    /**
     * JVM Server Name
     *
     * @return the usf server name
     */
    public String getName();

    /**
     * JVM 모니터링 정보
     *
     * @return the usf server monitoring data
     */
    public Map<String, String> stat();
}
